package com.siyuanren.gcocp.service;

import com.siyuanren.gcocp.dto.ContentDTO;
import com.siyuanren.gcocp.vo.QueryChildContentVO;
import com.siyuanren.gcocp.vo.QueryContentVO;

import java.util.List;

/**
 * Created by   anxing
 * Project_name gcocp-parent
 * Path         com.siyuanren.gcocp.service
 * Date         2018/4/18
 * Time         13:37
 * Description 课程内容service
 */
public interface ContentService {
    /**
     * 返回课程内容列表
     * @param queryContentVO
     * @return
     */
    public List<ContentDTO> getContentList(QueryContentVO queryContentVO) throws Exception;
    /**
     * 返回子课程内容列表. 用于嵌套的子课程内容列表
     * @param queryChildContentVO
     * @return
     */
    public List<ContentDTO> getChildContentList(QueryChildContentVO queryChildContentVO) throws Exception;
}
